package org.esionwong.mapper.db1;

import com.baomidou.mybatisplus.core.conditions.Wrapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Param;
import org.esionwong.domain.User;

import java.util.List;

public interface UserMapper extends BaseMapper<User> {
    List<User> selectAllUser();

    List<User> selectUserByName(@Param("name") String name  );

    Page<User> selectPage(Page<User> rowPage);

}
